package city.spring.modules.material.service;

import city.spring.modules.material.entity.MaterialBreakageWarehouseMaterialExtEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * Service：部门报损关联物资表
 *
 * @author 谢金婷
 * @date 2021-01-18 11:09:09
 */
public interface MaterialBreakageWarehouseMaterialExtService extends IService<MaterialBreakageWarehouseMaterialExtEntity> {
    String CACHE_NAME = "material_breakage_warehouse_material_ext";

    /**
     * 业务处理：保存一个 <strong>部门报损关联物资表</strong>
     *
     * @param entity 部门报损关联物资表
     */
    void saveMaterialBreakageWarehouseMaterialExt(MaterialBreakageWarehouseMaterialExtEntity entity);

    /**
     * 业务处理：修改一个 <strong>部门报损关联物资表</strong>
     *
     * @param entity 部门报损关联物资表
     */
    void updateMaterialBreakageWarehouseMaterialExt(MaterialBreakageWarehouseMaterialExtEntity entity);

    /**
     * 业务处理：删除一个 <strong>部门报损关联物资表</strong>
     *
     * @param primaryKey 主键ID
     */
    void deleteMaterialBreakageWarehouseMaterialExt(String primaryKey);

    /**
     * 业务处理：删除多个 <strong>部门报损关联物资表</strong>
     *
     * @param primaryKeys 主键ID列表
     */
    void deleteMaterialBreakageWarehouseMaterialExt(List<String> primaryKeys);
}